package xna.android;

import android.content.res.Resources;
import android.graphics.BitmapFactory;

public class Enemy extends Sprite {

	public Enemy(Resources res, int texture, int x, int y, Speed speed, ShotType type) {
		super(BitmapFactory.decodeResource(res, texture), x, y, null, speed);
		this.type = type;
	}

	public void update(int windowWidth, int windowHeight) {
		collideOnWall(windowWidth, windowHeight);
		super.update();
	}
	
}
